package pri.black.dogview.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface GpsDataMapper {

    @Insert("insert into logs(topic,data,createTime) value(#{topic},#{data},now())")
    int save(@Param("topic") String topic,@Param("data") String data);
}
